package com.example.transation.txlcncommon.bean.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.math.BigDecimal;

/**
 * 消费服务(T_CONSUMER)
 *
 * @author: luojm
 * @create: 2020-08-31 11:05:10
 */
@Data
@TableName(value = "t_consumer")
public class ConsumerEntity implements Serializable {

    /**
     * 版本号
     */
    private static final long serialVersionUID = 719027726872157169L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "NAME")
    private String name;

    @TableField(value = "AGE")
    private Integer age;

    @TableField(value = "CREATE_TIME")
    private LocalDateTime createTime;

    @TableField(value = "BALANCE")
    private BigDecimal balance;

}
